#ifndef LEXER
#define LEXER
#include <iostream>
#include "token.hxx"
using namespace std;
struct ReadHead
{
    int charNum = 0;        // Where the read head is in the code
    char charCnt = '\0';    // What it is    
};

class Lexer
{
private:
    
    string code = "";
    ReadHead ThisOne;
    string nextWord(ReadHead &rh);
    void skipSpace (ReadHead &rh);
    Token searchForToken (Token tklist, string cnt)

public:
    Lexer();
    ~Lexer();
    int inter(string);
};
#endif